package com.lingnan.wanxiangxinxun.service;

import com.lingnan.wanxiangxinxun.entity.dto.query.UserComment_queryDTO;
import com.lingnan.wanxiangxinxun.entity.po.UserComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lingnan.wanxiangxinxun.entity.vo.client.UserCommentVO_forNews;
import com.lingnan.wanxiangxinxun.entity.vo.common.PageVO;

/**
 * <p>
 * 用户评论表 服务类
 * </p>
 *
 * @author swl
 * @since 2025-03-13
 */
public interface IUserCommentService extends IService<UserComment> {

    PageVO<UserComment> getAllInPage(long current, long size);

    PageVO<UserComment> getInCondition(UserComment_queryDTO userComment_queryDTO);

    PageVO<UserCommentVO_forNews> getAllByNewsId(Integer newsId, long current, long size);

    PageVO<UserComment> getAllByUserId(Integer userId, long current, long size);
}
